<?php
global $cfg;
// 超级管理员
$menu_0 = array (
    '系统管理' => array (
                          '添加管理员' => array ('controller' => 'privilege', 'action' => 'adminadd'),
                          '管理员列表' => array ('controller' => 'privilege', 'action' => 'adminmanage'),
                          '备份文件下载' => array ('controller' => 'privilege', 'action' => 'backup'),
                        ),
    '服务器列表' => array (
                          '添加' => array ('controller' => 'server', 'action' => 'add'),
                          '待审核列表（采集1）' => array ('controller' => 'server', 'action' => 'list', 'param' => 'where=' . urlencode('where ischeck=0 and source=1')),
                          '待审核列表（采集2）' => array ('controller' => 'server', 'action' => 'list', 'param' => 'where=' . urlencode('where ischeck=0 and source=2')),
                          '待审核列表（采集3）' => array ('controller' => 'server', 'action' => 'list', 'param' => 'where=' . urlencode('where ischeck=0 and source=3')),
                          '待审核列表（采集4）' => array ('controller' => 'server', 'action' => 'list', 'param' => 'where=' . urlencode('where ischeck=0 and source=4')),
                          '待审核列表（手工）' => array ('controller' => 'server', 'action' => 'list', 'param' => 'where=' . urlencode('where ischeck=0 and source=0')),
                          '推荐列表' => array ('controller' => 'server', 'action' => 'list', 'param' => 'where=' . urlencode('where isyellow=1')), 
                          '精品全天列表' => array ('controller' => 'server', 'action' => 'list', 'param' => 'where=' . urlencode('where isdayfine=1')),
                          '全天固顶列表' => array ('controller' => 'server', 'action' => 'list', 'param' => 'where=' . urlencode('where isbest=1')),
                          '通宵固顶列表' => array ('controller' => 'server', 'action' => 'list', 'param' => 'where=' . urlencode('where isfinehot=1')),
                          '通宵推荐列表' => array ('controller' => 'server', 'action' => 'list', 'param' => 'where=' . urlencode('where ishot=1')),
                          '全部列表' => array ('controller' => 'server', 'action' => 'list', 'param' => 'where=' . urlencode('where 1=1')),
                        ),
    '文章管理' => array (
                          '添加' => array ('controller' => 'article', 'action' => 'add'),
                          '列表' => array ('controller' => 'article', 'action' => 'list'),
                        ),
    '家族管理' => array (
                          '添加' => array ('controller' => 'jz', 'action' => 'add'),
                          '待审核列表' => array ('controller' => 'jz', 'action' => 'list', 'param' => 'where=' . urlencode('where ischeck=0') ),
                          '所有列表' => array ('controller' => 'jz', 'action' => 'list',  'param' => 'where=' . urlencode('where 1=1')),
                        ),
	'广告' => array (
                          '所有列表' => array ('controller' => 'ad', 'action' => 'list'),
                        ),
	'采集' => array (
                          '(采集1)www.123sf.com' => array ('controller' => 'spider', 'action' => 'do123sf'),
                          '(采集2)www.yaosf.com' => array ('controller' => 'spider', 'action' => 'doyaosf'),
                          '(采集3)www.haocq.com' => array ('controller' => 'spider', 'action' => 'dohaocq'),
                          '(采集4)www.80sf.com/' => array ('controller' => 'spider', 'action' => 'do80sf'),
                        ),
   );

   
//代理
$menu_1 = array (
    '系统管理' => array (
                          '添加管理员' => array ('controller' => 'privilege', 'action' => 'adminadd'),
                          '管理员列表' => array ('controller' => 'privilege', 'action' => 'adminmanage'),
                        ),
   );

